<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title><?php echo $this->_tpl_vars['softtitle'] ?></title>
<link href="templates/css/baselist.css" rel="stylesheet" type="text/css" />
<link href="templates/css/all.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/control.js"></script>
<script type="text/javascript" src="js/form.js"></script>
<script type="text/javascript" src="js/dialog.js"></script>
<script type="text/javascript" language="JavaScript">
	var mangerlist_filecheck_js_filedirok = "<?php echo $this->_tpl_vars['ST']['mangerlist_filecheck_js_filedirok'] ?>";
	var mangerlist_filecheck_js_filedirno = "<?php echo $this->_tpl_vars['ST']['mangerlist_filecheck_js_filedirno'] ?>";
	$(document).ready(function(){
		var h = $(window).height();
		$('#mainwindowhidden').css({height:h-39});
	})

	function resetwindow(){
		parent.closeifram();
	}
</script>
</head>

<body>
	<div class="centerrightwindow">
		<form name="filecheck" id="filecheck" method="post" action="index.php?archive=management&action=filecheck">
			<input type="hidden" name="execute" value="1"/>
			<div id="mainwindowhidden">
				<!--main_start-->
				<div class="suggestion">
					<span class="sugicon"><span class="strong colorgorning2"><?php echo $this->_tpl_vars['ST']['position_title'] ?></span><span class="padding-left5 colorgorningage"><?php echo $this->_tpl_vars['ST']['modelmanage_preview_mess'] ?><u><?php echo $this->_tpl_vars['modelread']['modelname'] ?></u></span></span>
				</div>
				<div class="sugtitle-line"></div>
				<div class="formdiv" id="filechecklist">
					<table border="0" width="100%" style="margin-top: 0px;">
						<?php if (count($this->_tpl_vars['attrread'])>0){$divid_i=1;for($i=0;$i<count($this->_tpl_vars['attrread']); $i++){?>
						<tr class="trstyle2">
							<td class="trtitle01" width="20%"><?php echo $this->_tpl_vars['attrread'][$i]['typename'] ?></td>
							<td class="trtitle02" width="80%">
								<?php if($this->_tpl_vars['attrread'][$i]['inputtype']=='string'){ ?><input type="text" name="<?php echo $this->_tpl_vars['attrread'][$i]['attrname'] ?>" size="<?php echo $this->_tpl_vars['attrread'][$i]['attrsize'] ?>" maxlength="<?php echo $this->_tpl_vars['attrread'][$i]['attrlenther'] ?>" value="<?php echo $this->_tpl_vars['attrread'][$i]['attrvalue'] ?>" class="infoInput"/><?php } ?>
								<?php if($this->_tpl_vars['attrread'][$i]['inputtype']=='int'){ ?><input type="text" name="<?php echo $this->_tpl_vars['attrread'][$i]['attrname'] ?>" size="<?php echo $this->_tpl_vars['attrread'][$i]['attrsize'] ?>" maxlength="<?php echo $this->_tpl_vars['attrread'][$i]['attrlenther'] ?>" value="<?php echo $this->_tpl_vars['attrread'][$i]['attrvalue'] ?>" class="infoInput"/><?php } ?>
								<?php if($this->_tpl_vars['attrread'][$i]['inputtype']=='datetime'){ ?>
									<input type="text" name="<?php echo $this->_tpl_vars['attrread'][$i]['attrname'] ?>" size="<?php echo $this->_tpl_vars['attrread'][$i]['attrsize'] ?>" value="<?php echo $this->_tpl_vars['attrread'][$i]['attrvalue'] ?>" class="infoInput"/>
									<a class="datetime" href="#body">选择日期</a>
								<?php } ?>
								<?php if($this->_tpl_vars['attrread'][$i]['inputtype']=='img'){ ?>
									<input type="text" name="<?php echo $this->_tpl_vars['attrread'][$i]['attrname'] ?>" size="<?php echo $this->_tpl_vars['attrread'][$i]['attrsize'] ?>" value="<?php echo $this->_tpl_vars['attrread'][$i]['attrvalue'] ?>" class="infoInput"/>
									<a class="filecheck" href="#body">选择文件</a>
								<?php } ?>
								<?php if($this->_tpl_vars['attrread'][$i]['inputtype']=='addon'){ ?>
									<input type="text" name="<?php echo $this->_tpl_vars['attrread'][$i]['attrname'] ?>" size="<?php echo $this->_tpl_vars['attrread'][$i]['attrsize'] ?>" value="<?php echo $this->_tpl_vars['attrread'][$i]['attrvalue'] ?>" class="infoInput"/>
									<a class="filecheck" href="#body">选择文件</a>
								<?php } ?>
								<?php if($this->_tpl_vars['attrread'][$i]['inputtype']=='text'){ ?><textarea name="<?php echo $this->_tpl_vars['attrread'][$i]['attrname'] ?>" cols="<?php echo $this->_tpl_vars['attrread'][$i]['attrsize'] ?>" rows="<?php echo $this->_tpl_vars['attrread'][$i]['attrrow'] ?>" class="infoInput"><?php echo $this->_tpl_vars['attrread'][$i]['attrvalue'] ?></textarea><?php } ?>
								<?php if($this->_tpl_vars['attrread'][$i]['inputtype']=='select'){ ?>
									<select size="1" name="<?php echo $this->_tpl_vars['attrread'][$i]['attrname'] ?>">
									<?php if (count($this->_tpl_vars['attrread'][$i]['attrvalue'])>0){$divid_ii=1;for($ii=0;$ii<count($this->_tpl_vars['attrread'][$i]['attrvalue']); $ii++){?>
										<option <?php if($this->_tpl_vars['attrread'][$i]['attrvalue'][$ii]['selected']=='selected'){ ?>selected="selected" <?php } ?>value="<?php echo $this->_tpl_vars['attrread'][$i]['attrvalue'][$ii]['name'] ?>"><?php echo $this->_tpl_vars['attrread'][$i]['attrvalue'][$ii]['name'] ?></option>
									<?php }} ?>
									</select>
								<?php } ?>
								<?php if($this->_tpl_vars['attrread'][$i]['inputtype']=='radio'){ ?>
									<?php if (count($this->_tpl_vars['attrread'][$i]['attrvalue'])>0){$divid_ii=1;for($ii=0;$ii<count($this->_tpl_vars['attrread'][$i]['attrvalue']); $ii++){?>
										<input <?php if($this->_tpl_vars['attrread'][$i]['attrvalue'][$ii]['selected']=='selected'){ ?>checked="checked" <?php } ?>name="<?php echo $this->_tpl_vars['attrread'][$i]['attrname'] ?>" type="radio" value="<?php echo $this->_tpl_vars['attrread'][$i]['attrvalue'][$ii]['name'] ?>" /> <?php echo $this->_tpl_vars['attrread'][$i]['attrvalue'][$ii]['name'] ?>
									<?php }} ?>
								<?php } ?>
								<?php if($this->_tpl_vars['attrread'][$i]['inputtype']=='checkbox'){ ?>
									<?php if (count($this->_tpl_vars['attrread'][$i]['attrvalue'])>0){$divid_ii=1;for($ii=0;$ii<count($this->_tpl_vars['attrread'][$i]['attrvalue']); $ii++){?>
										<input <?php if($this->_tpl_vars['attrread'][$i]['attrvalue'][$ii]['selected']=='selected'){ ?>checked="checked" <?php } ?>name="<?php echo $this->_tpl_vars['attrread'][$i]['attrname'] ?>" type="checkbox" value="<?php echo $this->_tpl_vars['attrread'][$i]['attrvalue'][$ii]['name'] ?>" /> <?php echo $this->_tpl_vars['attrread'][$i]['attrvalue'][$ii]['name'] ?>
									<?php }} ?>
								<?php } ?>
								<?php if($this->_tpl_vars['attrread'][$i]['typeremark']!=''){ ?><span class="cautiontitle"><?php echo $this->_tpl_vars['attrread'][$i]['typeremark'] ?></span><?php } ?>
							</td>
						</tr>
						<?php }} ?>
					</table>
				</div>
				<!--main_end-->
			</div>
			<div id="downbotton">
				<div id="subbotton">
					<table border="0" width="100%">
						<tr id="bottonsubmit2">
							<td id="center" colspan="2"><input type="reset" name="reset" value="<?php echo $this->_tpl_vars['ST']['botton_close'] ?>" onclick="javascript:resetwindow();" class="buttonface"  title="<?php echo $this->_tpl_vars['ST']['botton_close'] ?>"/></td>
						</tr>
					</table>
				</div>
			</div>
		</form>
	</div>
</body>

</html>
